package com.example.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author およそ神
 * @version JDK 1.8
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)//链式写法
public class Person implements Serializable {
   private Integer id;
   private String name;
   private Integer age;
   private Date updatetime;
   private String updateby;
   private String test;
   public Person() {
      this.updatetime = new Date();
   }
}
